﻿<%@ Page Title="" Language="C#" MasterPageFile="~/Views/Shared/Site.Master" Inherits="System.Web.Mvc.ViewPage<OnlineLibrary.Linq.tblFomula>" %>

<asp:Content ID="Content1" ContentPlaceHolderID="TitleContent" runat="server">
	Create
</asp:Content>

<asp:Content ID="Content2" ContentPlaceHolderID="MainContent" runat="server">

    <h2>Create Formula</h2>
      <% using (Html.BeginForm())
       {%>
    <%: Html.ValidationSummary(true) %>
    <fieldset>
        <legend>Information </legend>

        <div class="editor-label">
            <label for="ID">Formula ID</label>
        </div>
        <div class="editor-field">
            <%: Html.TextBoxFor(model => model.FomulaId)%>
            <%: Html.ValidationMessageFor(model => model.FomulaId)%>
        </div>

        <div class="editor-label">
            <label for="ForName">Formula Name</label>
        </div>
        <div class="editor-field">
            <%: Html.TextBoxFor(model => model.FomulaName)%>
            <%: Html.ValidationMessageFor(model => model.FomulaName)%>
        </div>

        <div class="editor-label">
            <label for="For">Formula</label>
        </div>
        <div class="editor-field">
            <%: Html.TextBoxFor(model => model.Fomula)%>
            <%: Html.ValidationMessageFor(model => model.Fomula)%>
        </div>

        <p>
            <input type="submit" value="Create" />
        </p>
    </fieldset>
    <% } %>
    <div>
        <%: Html.ActionLink("Back to List", "Index") %>
    </div>


</asp:Content>

<asp:Content ID="Content3" ContentPlaceHolderID="PlaceHolderNavigation" runat="server">
</asp:Content>
